package com.stoken.dao;

import org.springframework.stereotype.Repository;

import com.stoken.domain.MemberWallet;
import com.symbio.dao.hibernate.GenericDaoImpl;

/**
 *  
 * @author Frzhao
 *
 */
@Repository("memberWalletDao")
public class MemberWalletDao extends GenericDaoImpl<MemberWallet,Long> {
	
	public MemberWallet getMemberWalletByUserName(String userBaseName){
		return this.find("from MemberWallet where baseUsername.baseUsername = ?", new Object[]{userBaseName});		
	}
}
